<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Language" content="zh-CN">
    <title>资源列表</title>
    <link href="__PUBLIC__/Admin/css/admin2.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/jquery.bettertip.css" type="text/css" media="screen">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/jquery-ui.custom.css">
</head>
<body>
<!--左侧文件-->
<div id="main">
    <div class="yui">
        <div class="content">
            <div id="divMain">
                <div class="divHeader">
                    添加
                </div>
                <div id="divMain2">
                    <div class="tab-content" style="border: none; padding: 0px; margin: 0px; display: block;" id="tab3">
                        <form action="{:U('Admin/Share/editor')}" method="post" enctype="multipart/form-data">
                            <input type="hidden" name="id" value="{$id}"/>
                            <table width="100%" style="padding:0px;margin:0px;" cellspacing="0" cellpadding="0">
                                <tbody>
                                <tr class="color2">
                                    <td width="100">
                                        <p align="left">
                                            <b>图片:</b>
                                        </p>
                                    </td>
                                    <td>
                                        <p>
                                            <input name="photo" type="file" value="浏览" class="text-input big-input">图片大小为 160px X 160px
                                        </p>
                                        <p>
                                            <if condition="!empty($pic)">
                                                <img src="{$pic}" width="160px"/>
                                                <input type="hidden" name="photo" value="{$pic}"/>
                                            </if>
                                        </p>
                                        如果使用外部图片请为空
                                    </td>
                                </tr>
                                <tr class="color2">
                                    <td width="100">
                                        <p align="left">
                                            <b>主题：</b>
                                        </p>
                                    </td>
                                    <td>
                                        <p>
                                            <input name="name" class="text-input big-input" type="text" value="{$name}">
                                        </p>
                                    </td>
                                </tr>
                                <tr class="color2">
                                    <td width="100">
                                        <p align="left">
                                            <b>描述:</b>
                                        </p>
                                    </td>
                                    <td>
                                        <p>
                                            <textarea name="describe" class="text-input big-input">{$describe}</textarea>
                                        </p>
                                    </td>
                                </tr>
                                <tr class="color2">
                                    <td>
                                        <p align="left">
                                            <b>AA收款连接:</b>
                                        </p>
                                    </td>
                                    <td>
                                        <p>
                                            <input type="text" name="url" value="{$url}" class="text-input big-input"/>
                                        </p>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <p>
                                <br>
                                <input type="submit" class="button" value="提交">
                            </p>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>